package com.sjms._02_创建_工厂方法;

class 雀巢 extends Coffee {
    public 雀巢(String name) {
        super(name);
    }

    @Override
    void materials() {
        System.out.println(name + "：【雀巢-原材料：细磨咖啡粉】");
    }

    @Override
    void produce() {
        System.out.println("生产结果：雀巢咖啡x10g \n");
    }
}